# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=font-uw-ttyp0
pkgver=1.3
pkgrel=0
pkgdesc="bitmap monospaced font with unicode support"
url="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/"
arch="noarch"
options="!check" ## there are no checks
license="TTYP0"
makedepends="perl bdftopcf mkfontscale font-util-dev"
source="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/uw-ttyp0-$pkgver.tar.gz
style.patch"
builddir="$srcdir/uw-ttyp0-$pkgver"

build() {
	./configure \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="193966b826cafa313384f20e225d4a0b0057364ed23c2beaf27a59095fdb9079281fdc1d292592038512a56ec0387e531a28449344e2960f0ecd3e64c7a6f6e7  uw-ttyp0-1.3.tar.gz
423b32c57431829c3901b685d7c241cfb6449a9cf1155ac7aa012fdafc25d1d0ad5b84ec66edc9aa3cc558a21738c0db77443f665d7dfc823a8b0251b3195202  style.patch"
